<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    <servlet>
        <servlet-name>LoginManager</servlet-name>
        <servlet-class>authorization.LoginManagerServlet</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>AccountCreator</servlet-name>
        <servlet-class>authorization.AccountCreatorServlet</servlet-class>
    </servlet>
    <servlet>
        <description>Wylogowuje zalogowanego użytkownika.</description>
        <servlet-name>Logoff</servlet-name>
        <servlet-class>authorization.LogoffServlet</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>IssueCreator</servlet-name>
        <servlet-class>database.IssueResponderServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>LoginManager</servlet-name>
        <url-pattern>/LoginManager</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>AccountCreator</servlet-name>
        <url-pattern>/AccountCreator</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>Logoff</servlet-name>
        <url-pattern>/Logoff</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>IssueCreator</servlet-name>
        <url-pattern>/IssueCreator</url-pattern>
    </servlet-mapping>
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
        </welcome-file-list>
    </web-app>
